#ifndef __LCD1602_H_
#define __LCD1602_H_

#define LCE_Dataport P0


sbit LCD_EN=P3^5;
sbit LCD_RS=P3^7;
sbit LCD_RW=P3^6;	

void delay(unsigned int x);
void Delay1ms(void);
void Delay20ms(void);
void Delay40us(void);
void LCD_WriteCommand(unsigned char Command);
void LCD_WriteData(unsigned char Data);
void LCD_Init(void);
void LCD_Setcursor(unsigned char line,unsigned char column);
void LCD_Showchar(unsigned char line,unsigned char column,unsigned char Char);
void LCD_Showstring(unsigned char line,unsigned char column,unsigned char *string);
void LCD_Clear(void);
	
#endif

